package cn.iocoder.mall.order.application.vo;

import cn.iocoder.common.utils.common.system.util.Long2StringSerializer;
import cn.iocoder.common.utils.common.system.util.String2LongDeserialize;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import lombok.Data;

import javax.validation.constraints.NotNull;

/***
 *@author yinxucun
 *@date 2019-12-17 14:49 
 */
@Data
public class CreadentialSecrexVo {
    private String userId;

    @NotNull
    private String mac;
    @JsonDeserialize(using = String2LongDeserialize.class)
    @JsonSerialize(using = Long2StringSerializer.class)
    private Long  orderId;
    @JsonProperty("IMEI")
    private String IMEI;
    @NotNull
    private String secretText;
    @NotNull
    private String  ip;
}
